class ForbiddenError(Exception):
    def __init__(self, request_item):
        self.request_item = request_item
    pass


class NotFoundError(Exception):
    def __init__(self, request_item):
        self.request_item = request_item
    pass


class TimeoutError(Exception):
    pass


class ResultIllegalError(Exception):
    """
    结果不正确(指服务端没有给我们正确的信息, 抛出这个异常, 爬虫尝试换header继续爬
    """
    pass